diff options
| author | Michael Williamson <mike@zwobble.org> | 2024-12-22 11:05:15 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2024-12-22 11:05:15 +0000 |
| commit | 1397d18e897e98ede05e8bbc7b394c0469fb887a (patch) | |
| tree | 6ed2e41c31ba7b6565b346c187fa7d94c92a2213 /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | |
| parent | 1a1f26b2abdd3bd9edfebd55c2559f1b77a8f947 (diff) | |
Implement Patio codegen for method store and load
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
1 files changed, 21 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected new file mode 100644 index 00000000..7b048f63 --- /dev/null +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioMethodLoadTests]/[method:canGenerateCodeForMethodLoad(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -0,0 +1,21 @@ +Compilation unit elements: + + +Locals: + * (val "tmp__name__0" int) + +Instructions: + +( + ( + memory-load + (local "tmp__name__0") + pointer=(data-ptr-const "shed__method__Example_Project__User__name") + layout=int + offset=() + ) +) + +Temporary stack: + * PatioLocalRef[name=tmp__name__0] + * PatioLocalRef[name=a] |
